#ifndef CG_CARTEADVERSE_H
#define CG_CARTEADVERSE_H

#include <QGraphicsItem>
#include "cg_carteadverse.h"

class Cg_JeuAdversaire;

class Cg_CarteAdverse : public QGraphicsPixmapItem
{
public:

    Cg_CarteAdverse();
    Cg_CarteAdverse(Cg_JeuAdversaire *jeu);
    Cg_CarteAdverse(Cg_JeuAdversaire *jeu, int place);
    void setPlace(int place);
    void setJeu(Cg_JeuAdversaire *jeu);
    int getPlace();
    Cg_JeuAdversaire* getJeu();

private :

    int m_place;
    Cg_JeuAdversaire *m_jeu;
};

#endif // CG_CARTEADVERSE_H
